package com.itheima.day3singleInstance;

public class Test {
    public static void main(String[] args) {
        SingleInstance s1 = SingleInstance.singleInstance;
        SingleInstance s2 = SingleInstance.singleInstance;
        System.out.println(s1==s2);
        System.out.println(s2);
    }
}
